from django.urls import path
from rest_framework_jwt.views import obtain_jwt_token

from app02 import views

urlpatterns = [
    path('login/', obtain_jwt_token),
    path('order/', views.Order.as_view()),
    path('userinfo/', views.UserInfoAPIView.as_view()),
    path('goodsinfo/', views.GoodsInfoAPIView.as_view()),
    path('login2/', views.Login2View.as_view(actions={'post': 'login'})),
]